﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="frm_AccountList.aspx.cs" Inherits="SaleSystem.Fina.frm_AccountList" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>基础数据管理</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <ext:PageManager runat="server" ID="PageManager1" />
    <ext:Toolbar runat="server" ID="toolbar1">
        <Items>
                    <ext:Button runat="server" ID="bnSearch" Text="查询" Type="Submit" Icon="Reload" OnClick="bnSearch_Click"></ext:Button>
            <ext:Button runat="server" ID="bnNew" Text="新增" Icon="Add"  ></ext:Button>

        </Items>    
    </ext:Toolbar>
     <ext:SimpleForm runat="server" ID="SimpleForm1" EnableBackgroundColor="true" ShowHeader="false" BodyPadding="10px" ShowBorder="false">
                <Items>
                    <ext:TextBox runat="server" ID="tb_AList_Name" Label="账号" Width="200px"></ext:TextBox>
                    <ext:TextBox runat="server" ID="tb_AList_UserName" Label="开户名" Width="200px"></ext:TextBox>
                    <ext:DropDownList runat="server" ID="ddl_AList_BData_Id" Label="开户行" Width="200px" DataValueField="BData_Id" DataTextField="BData_Name">
                    </ext:DropDownList>
                </Items>
    </ext:SimpleForm>
    <ext:Grid runat="server" ID="gv_List" EnableBackgroundColor="true" Title="银行账户列表"   IsDatabasePaging="true" AutoHeight="true"
            DataKeyNames="AList_Id,AList_Name" EnableRowNumber="true" 
            onrowcommand="gv_List_RowCommand" AllowPaging="true" 
            onpageindexchange="gv_List_PageIndexChange" 
            onrowdatabound="gv_List_RowDataBound">
    <Columns>
        <ext:BoundField ColumnID="AList_Name" DataField="AList_Name" DataTooltipField="AList_Name" HeaderText="账号" Width="150px" />
        <ext:BoundField ColumnID="AList_UserName" DataField="AList_UserName" DataTooltipField="AList_UserName" HeaderText="开户名"  Width="200px"   />
        <ext:BoundField ColumnID="BData_Name" DataField="BData_Name" DataTooltipField="BData_Name" HeaderText="开户行" Width="150px"/>   
        <ext:BoundField ColumnID="AList_Money" DataField="AList_Money" DataTooltipField="AList_Money" HeaderText="账户金额" Width="150px"/>   
        <ext:LinkButtonField ColumnID="eidt" CommandName="edit"  Text="编辑" HeaderText="编辑" Width="60px" />
        <ext:LinkButtonField ColumnID="delete" CommandName="Delete" CommandArgument="BData_Id" ConfirmIcon="Question" ConfirmText="确认删除此信息？" Text="删除" HeaderText="删除" Width="60px" />

    </Columns>
    </ext:Grid>
    </div>
    <ext:Window runat="server" ID="win_Content" Popup="false" EnableIFrame="true"   EnableConfirmOnClose="true" Title="新增账户" IFrameUrl="about:blank" Target="Parent" IsModal="true" Width="500px" Height="250px"></ext:Window>
    </form> 
</body>
</html>
